<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        button{
            border-radius: 50%;
        }
        *{
            padding: 0;
            margin: 0;
        }
        .title {
            display: flex;
            justify-content: space-between;
        }
        .title .title1{
            font-size: 26px;
        }
        .list .item{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px;
        }
        img{
            width: 60px;
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="title">
            <div class="title1">已选商品</div>
            <div class="title2">删除</div>
        </div>
        <div class="list">
            <div class="item" v-for="(item,index) in tasklist" v-bind:key="index">
                <div class="left">
                    <img v-bind:src="item.pic" alt="">
                </div>
                <div class="middle">
                    <div class="name">{{item.name}}</div>
                    <div class="price">{{item.price}}</div>
                </div>
                <div class="right">
                    <button>-</button>
                    <span>1</span>
                    <button>+</button>
                </div>
            </div>
        </div>
    </div>
</body>
<script src="./vue-2.5.21.js"></script>
<script>
    var v=new Vue({
        el:'#app',
        data:{
            tasklist:[
                {id:1,pic:'./ing/04.webp',name:'秋刀鱼/斤',price:'35.00'},
                {id:2,pic:'./ing/05.webp',name:'鲜大带鱼/条',price:'45.00'},
                {id:3,pic:'./ing/06.webp',name:'鲜活全母皮皮虾/斤',price:'85.00'},
            ]
        }
        
    })
</script>
</html>